#include <stdio.h>

int main(int argc, char *argv[], char *envp[])
{
    int i;

    printf("Command line arguments:\n");
    for (i = 0; i < argc; i ++)
    {
        printf("\targv[%d]: %s\n", i, argv[i]);
    }

    printf("Envrionment variables:\n");
    i = 0;
    while (envp[i] != NULL)
    {
        printf("\tenvp[%d]: %s\n", i++, envp[i]);
    }

    return 0;
}
